package com.zys.http.extension.completion.properties.psi;


import com.intellij.extapi.psi.PsiFileBase;
import com.intellij.openapi.fileTypes.FileType;
import com.intellij.psi.FileViewProvider;
import com.zys.http.extension.completion.properties.language.HttpPropertiesFileType;
import com.zys.http.extension.completion.properties.language.HttpPropertiesLanguage;
import org.jetbrains.annotations.NotNull;

/**
 * @author zys
 * @since 2025-08-19
 */
public class HttpPropertiesFile extends PsiFileBase {
    public HttpPropertiesFile(@NotNull FileViewProvider viewProvider) {
        super(viewProvider, HttpPropertiesLanguage.INSTANCE);
    }

    @Override
    public @NotNull FileType getFileType() {
        return HttpPropertiesFileType.INSTANCE;
    }

    @Override
    public String toString() {
        return "HttpProperties File";
    }
}
